import type { bannerData } from '@/types/bannerPic'
import { http } from '@/utils/http'
export const getBannerApi = () => {
  return http<bannerData>({
    method: 'GET',
    url: '/getCarousel',
  })
}
//获取推荐数据
export const getRecommendApi = () => {
  return http<bannerData>({
    method: 'GET',
    url: '/recommend',
  })
}
//获取分类专题
export const getClassifyApi = () => {
  return http<bannerData>({
    method: 'GET',
    url: '/getClassify',
  })
}
